Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.social.collaboration.theme

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.social.collaboration.theme">

  <require>org.nuxeo.theme.core</require>
  <require>org.nuxeo.theme.fragments</require>
  <require>org.nuxeo.theme.html</require>
  <require>org.nuxeo.theme.jsf</require>
  <require>org.nuxeo.theme.nuxeo.default</require>

  <!--  themes -->
  <extension target="org.nuxeo.theme.services.ThemeService" point="themes">

    <theme>
      <src>themes/social-collaboration.xml</src>
    </theme>

  </extension>

  <!-- application settings -->
  <extension target="org.nuxeo.theme.services.ThemeService" point="applications">
    <application root="${org.nuxeo.ecm.contextPath}" template-engine="jsf-facelets">

      <view id="/social_dashboard.xhtml">
        <theme>social-collaboration/dashboard</theme>
      </view>

      <view id="/view_social_document.xhtml">
        <theme>social-collaboration/dashboard</theme>
      </view>

      <view id="/create_social_document.xhtml">
        <theme>social-collaboration/dashboard</theme>
      </view>

      <view id="/articles.xhtml">
        <theme>social-collaboration/dashboard</theme>
      </view>

      <view id="/edit_social_document.xhtml">
        <theme>social-collaboration/dashboard</theme>
      </view>

      <view id="/news_items.xhtml">
        <theme>social-collaboration/dashboard</theme>
      </view>

      <view id="/view_collaboration.xhtml">
        <theme>social-collaboration/dashboard</theme>
      </view>

      <view id="/files.xhtml">
        <theme>social-collaboration/dashboard</theme>
      </view>

   </application>
  </extension>

  <!-- mapping between theme pages and resources -->
  <extension target="org.nuxeo.theme.styling.service" point="pages">

    <themePage name="social-collaboration/dashboard">
      <defaultFlavor>default</defaultFlavor>
      <flavors>
        <flavor>default</flavor>
        <flavor>rainbow</flavor>
      </flavors>
      <styles>
        <style>basics</style>
        <style>buttons_and_actions</style>
        <style>header</style>
        <style>body</style>
        <style>footer</style>
        <style>grids_and_widgets</style>
        <style>navigation</style>
        <style>tables</style>
        <style>forms</style>
        <style>popups</style>
        <style>messages_and_tooltips</style>
        <style>foldable_boxes</style>
        <style>richfaces_components</style>
        <style>tabs_content</style>
        <style>helpers</style>
        <style>social_collaboration_specific</style>
      </styles>
    </themePage>

  </extension>

  <extension target="org.nuxeo.theme.styling.service" point="styles">
    <style name="social_collaboration_specific">
      <src>themes/css/social_collaboration_specific.css</src>
    </style>
  </extension>

</component>